package com.intelligent.health.setmeal.service;

import com.intelligent.health.setmeal.dto.SetMealDto;
import com.intelligent.health.setmeal.pojo.CheckGroup;
import com.intelligent.health.setmeal.pojo.SetMeal;
import com.intelligent.health.setmeal.vo.SetMealVo;
import entity.PageResult;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: torlesse-liang
 * @Date: 2022/03/13/22:36
 * @Description:
 */
public interface SetMealService {
    PageResult<SetMealVo> querySetMealsByPage(SetMealDto setMealDto, Integer pageNum, Integer pageSize);

    SetMeal querySetMealById(Integer setMealId);

    void addSetMeal(HashMap<String, Object> hashMap);

    void editSetMeal(HashMap<String, Object> hashMap);

    void delSetMeal(Integer setMealId);

    List<SetMeal> querySetMeals(HashMap<String, Object> hashMap);

    void delBatchSetMeal(ArrayList<Integer> setMealIds);

    List<CheckGroup> queryCheckGroupsBySid(Integer setMealId);
}
